import { Router } from 'vue-router'
import setupPermissionGuard from './permission'
import { setupStateGuard } from './state'

export function setupRouterGuard (router: Router) {
  setupPermissionGuard(router)

  setupStateGuard(router)
}
